package com.javabi.htmlbuilder.html.element.form;

/**
 * An HTML Text Submit Element
 * <p>
 * &lt;input type="submit" /&gt;
 * </p>
 */
public class Submit extends Input {

	/**
	 * Creates a new submit.
	 */
	public Submit() {
	}

	/**
	 * Creates a new submit.
	 * @param value the value.
	 */
	public Submit(String value) {
		setValue(value);
	}

	@Override
	public Type getType() {
		return Type.SUBMIT;
	}

}
